Optimal. Leaf size=22 \[ -\sqrt {x}+\text {ArcTan}\left (\sqrt {x}\right )+x \text {ArcTan}\left (\sqrt {x}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.00, antiderivative size = 22, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 4, integrand size = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.667, Rules used = {4930, 52, 65,
209} \begin {gather*} x \text {ArcTan}\left (\sqrt {x}\right )+\text {ArcTan}\left (\sqrt {x}\right )-\sqrt {x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 52
Rule 65
Rule 209
Rule 4930
Rubi steps
\begin {align*} \int \tan ^{-1}\left (\sqrt {x}\right ) \, dx &=x \tan ^{-1}\left (\sqrt {x}\right )-\frac {1}{2} \int \frac {\sqrt {x}}{1+x} \, dx\\ &=-\sqrt {x}+x \tan ^{-1}\left (\sqrt {x}\right )+\frac {1}{2} \int \frac {1}{\sqrt {x} (1+x)} \, dx\\ &=-\sqrt {x}+x \tan ^{-1}\left (\sqrt {x}\right )+\text {Subst}\left (\int \frac {1}{1+x^2} \, dx,x,\sqrt {x}\right )\\ &=-\sqrt {x}+\tan ^{-1}\left (\sqrt {x}\right )+x \tan ^{-1}\left (\sqrt {x}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 18, normalized size = 0.82 \begin {gather*} -\sqrt {x}+(1+x) \text {ArcTan}\left (\sqrt {x}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.01, size = 17, normalized size = 0.77
method | result | size |
derivativedivides | \(\arctan \left (\sqrt {x}\right )+x \arctan \left (\sqrt {x}\right )-\sqrt {x}\) | \(17\) |
default | \(\arctan \left (\sqrt {x}\right )+x \arctan \left (\sqrt {x}\right )-\sqrt {x}\) | \(17\) |
meijerg | \(-\sqrt {x}+\frac {\left (3 x +3\right ) \arctan \left (\sqrt {x}\right )}{3}\) | \(18\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.47, size = 16, normalized size = 0.73 \begin {gather*} x \arctan \left (\sqrt {x}\right ) - \sqrt {x} + \arctan \left (\sqrt {x}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 1.21, size = 14, normalized size = 0.64 \begin {gather*} {\left (x + 1\right )} \arctan \left (\sqrt {x}\right ) - \sqrt {x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.69, size = 19, normalized size = 0.86 \begin {gather*} - \sqrt {x} + x \operatorname {atan}{\left (\sqrt {x} \right )} + \operatorname {atan}{\left (\sqrt {x} \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.43, size = 16, normalized size = 0.73 \begin {gather*} x \arctan \left (\sqrt {x}\right ) - \sqrt {x} + \arctan \left (\sqrt {x}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.07, size = 16, normalized size = 0.73 \begin {gather*} \mathrm {atan}\left (\sqrt {x}\right )+x\,\mathrm {atan}\left (\sqrt {x}\right )-\sqrt {x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________